<template>
	<view class="page-index">
		<InputBtn :Type="parseInt(Type)" />
		<Swiper v-if="Type===0" style="height: 200rpx;" />
		<!-- #ifdef MP-WEIXIN -->
		<ImageLabel v-if="Type===0" />
		<!-- #endif -->
		<view class="sticky">
			<DropDown @getForm='getForm' />
		</view>
		<Work ref="work" v-if="Type===0" :workList='workList' :total='total' text="暂无数据" :userInfos='userInfo' :status='status' :Type='Type' />
		<Recruit ref="recruit" v-if="Type===1" :resumeList='resumeList' :total='total' text="暂无数据" :userInfos='userInfo' :status='status' :Type='Type' />
		<uni-popup ref="popup" type="center">
			<view class="tips">
				<view class="title">
					请确认你的身份
				</view>
				<view class="value">
					确认后将为你提供专属服务
				</view>
				<view class="position" @click="qiuzhi()">
					<view class="title">
						我要接单
					</view>
					<image src="/static/index/type1.png" mode=""></image>
				</view>
				<view class="position" @click="zhaopin()">
					<view class="title">
						我有需求
					</view>
					<image src="/static/index/type0.png" mode=""></image>
				</view>
			</view>
		</uni-popup>
		<view :class="[scrollTop>=150?'backTop':'backNone']" @click="scroll">
			<text class='iconfont fontclassrocket' style='font-size: 42rpx;'></text>
		</view>
	</view>
</template>

<script src="./page.js"></script>

<style scoped lang="scss">
	@import 'page.scss';
</style>
